<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver DS18B20: src/driver_ds18b20.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver DS18B20
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">DS18B20 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ds18b20_8c.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">driver_ds18b20.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>driver ds18b20 source file  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="driver__ds18b20_8h_source.html">driver_ds18b20.h</a>&quot;</code><br />
</div>
<p><a href="driver__ds18b20_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:adc9da0a24824ca1239b593f6459b3954"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#adc9da0a24824ca1239b593f6459b3954">CHIP_NAME</a>&#160;&#160;&#160;&quot;Maxim Integrated DS18B20&quot;</td></tr>
<tr class="memdesc:adc9da0a24824ca1239b593f6459b3954"><td class="mdescLeft">&#160;</td><td class="mdescRight">chip information definition  <a href="driver__ds18b20_8c.html#adc9da0a24824ca1239b593f6459b3954">More...</a><br /></td></tr>
<tr class="separator:adc9da0a24824ca1239b593f6459b3954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa2b8f5b105c3019df0cb346f472e803"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#aaa2b8f5b105c3019df0cb346f472e803">MANUFACTURER_NAME</a>&#160;&#160;&#160;&quot;Maxim Integrated&quot;</td></tr>
<tr class="separator:aaa2b8f5b105c3019df0cb346f472e803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac8d8cbd899667d609787ef4cf37054d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#aac8d8cbd899667d609787ef4cf37054d">SUPPLY_VOLTAGE_MIN</a>&#160;&#160;&#160;3.0f</td></tr>
<tr class="separator:aac8d8cbd899667d609787ef4cf37054d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68eba8b601afe11f1b871d944976c035"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a68eba8b601afe11f1b871d944976c035">SUPPLY_VOLTAGE_MAX</a>&#160;&#160;&#160;5.5f</td></tr>
<tr class="separator:a68eba8b601afe11f1b871d944976c035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2989837a37d6d63b59c6dd541b785435"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a2989837a37d6d63b59c6dd541b785435">MAX_CURRENT</a>&#160;&#160;&#160;4.0f</td></tr>
<tr class="separator:a2989837a37d6d63b59c6dd541b785435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab353db5bf4eb787f86a2080f609a551"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#aab353db5bf4eb787f86a2080f609a551">TEMPERATURE_MIN</a>&#160;&#160;&#160;-55.0f</td></tr>
<tr class="separator:aab353db5bf4eb787f86a2080f609a551"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90c0b20d54005712fcc8cb01281360e9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a90c0b20d54005712fcc8cb01281360e9">TEMPERATURE_MAX</a>&#160;&#160;&#160;125.0f</td></tr>
<tr class="separator:a90c0b20d54005712fcc8cb01281360e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae578001fe043b4cca7a0edd801cfe9c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#ae578001fe043b4cca7a0edd801cfe9c4">DRIVER_VERSION</a>&#160;&#160;&#160;2000</td></tr>
<tr class="separator:ae578001fe043b4cca7a0edd801cfe9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6f3a99c114a9bc39c195871ad337653"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#ae6f3a99c114a9bc39c195871ad337653">DS18B20_CMD_SEARCH_ROM</a>&#160;&#160;&#160;0xF0</td></tr>
<tr class="memdesc:ae6f3a99c114a9bc39c195871ad337653"><td class="mdescLeft">&#160;</td><td class="mdescRight">chip command definition  <a href="driver__ds18b20_8c.html#ae6f3a99c114a9bc39c195871ad337653">More...</a><br /></td></tr>
<tr class="separator:ae6f3a99c114a9bc39c195871ad337653"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72f0f569eb68858f479bcc730c3e295c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a72f0f569eb68858f479bcc730c3e295c">DS18B20_CMD_READ_ROM</a>&#160;&#160;&#160;0x33</td></tr>
<tr class="separator:a72f0f569eb68858f479bcc730c3e295c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cdf02a12f71612a40dde0a265ebd75b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a6cdf02a12f71612a40dde0a265ebd75b">DS18B20_CMD_MATCH_ROM</a>&#160;&#160;&#160;0x55</td></tr>
<tr class="separator:a6cdf02a12f71612a40dde0a265ebd75b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a608ba051f40d5b9e54f8ebc016dc1514"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a608ba051f40d5b9e54f8ebc016dc1514">DS18B20_CMD_SKIP_ROM</a>&#160;&#160;&#160;0xCC</td></tr>
<tr class="separator:a608ba051f40d5b9e54f8ebc016dc1514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae59ed6acc15562eda1a04e26b10b99"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#afae59ed6acc15562eda1a04e26b10b99">DS18B20_CMD_ALARM_SEARCH</a>&#160;&#160;&#160;0xEC</td></tr>
<tr class="separator:afae59ed6acc15562eda1a04e26b10b99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2a9d81efb3ef7b921377c116e41a3f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#ac2a9d81efb3ef7b921377c116e41a3f8">DS18B20_CMD_CONVERT_T</a>&#160;&#160;&#160;0x44</td></tr>
<tr class="separator:ac2a9d81efb3ef7b921377c116e41a3f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57959c93d714e1c177afc244b2c57d5e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a57959c93d714e1c177afc244b2c57d5e">DS18B20_CMD_WRITE_SCRATCHPAD</a>&#160;&#160;&#160;0x4E</td></tr>
<tr class="separator:a57959c93d714e1c177afc244b2c57d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3734ec2848db33401ad3246798e474a7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a3734ec2848db33401ad3246798e474a7">DS18B20_CMD_READ_SCRATCHPAD</a>&#160;&#160;&#160;0xBE</td></tr>
<tr class="separator:a3734ec2848db33401ad3246798e474a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae93330bdd8be8a8321fab8fd377f032d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#ae93330bdd8be8a8321fab8fd377f032d">DS18B20_CMD_COPY_SCRATCHPAD</a>&#160;&#160;&#160;0x48</td></tr>
<tr class="separator:ae93330bdd8be8a8321fab8fd377f032d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8ff7b9c7b59106d5c9bda3c03d56c6d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#ab8ff7b9c7b59106d5c9bda3c03d56c6d">DS18B20_CMD_RECALL_EE</a>&#160;&#160;&#160;0xB8</td></tr>
<tr class="separator:ab8ff7b9c7b59106d5c9bda3c03d56c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afacf9219cf1ebe44185d974711492cdc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#afacf9219cf1ebe44185d974711492cdc">DS18B20_CMD_READ_POWER_SUPPLY</a>&#160;&#160;&#160;0xB4</td></tr>
<tr class="separator:afacf9219cf1ebe44185d974711492cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gadd246c4e8a5887a1acd710dee214323c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gadd246c4e8a5887a1acd710dee214323c">ds18b20_set_mode</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#gaa76e51e2201d4058f4274ca420c165f6">ds18b20_mode_t</a> mode)</td></tr>
<tr class="memdesc:gadd246c4e8a5887a1acd710dee214323c"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the chip mode  <a href="group__ds18b20__base__driver.html#gadd246c4e8a5887a1acd710dee214323c">More...</a><br /></td></tr>
<tr class="separator:gadd246c4e8a5887a1acd710dee214323c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac443f4e1e2ec109676d1842cc7d1e96c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gac443f4e1e2ec109676d1842cc7d1e96c">ds18b20_get_mode</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#gaa76e51e2201d4058f4274ca420c165f6">ds18b20_mode_t</a> *mode)</td></tr>
<tr class="memdesc:gac443f4e1e2ec109676d1842cc7d1e96c"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the chip mode  <a href="group__ds18b20__base__driver.html#gac443f4e1e2ec109676d1842cc7d1e96c">More...</a><br /></td></tr>
<tr class="separator:gac443f4e1e2ec109676d1842cc7d1e96c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cf8a45542f1dfdca17347c0870f870f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga4cf8a45542f1dfdca17347c0870f870f">ds18b20_set_rom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t rom[8])</td></tr>
<tr class="memdesc:ga4cf8a45542f1dfdca17347c0870f870f"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the handle rom  <a href="group__ds18b20__base__driver.html#ga4cf8a45542f1dfdca17347c0870f870f">More...</a><br /></td></tr>
<tr class="separator:ga4cf8a45542f1dfdca17347c0870f870f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4d3d3dd0bc24d0c4fa2822bfbc32f35"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gaf4d3d3dd0bc24d0c4fa2822bfbc32f35">ds18b20_get_rom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t rom[8])</td></tr>
<tr class="memdesc:gaf4d3d3dd0bc24d0c4fa2822bfbc32f35"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the chip rom  <a href="group__ds18b20__base__driver.html#gaf4d3d3dd0bc24d0c4fa2822bfbc32f35">More...</a><br /></td></tr>
<tr class="separator:gaf4d3d3dd0bc24d0c4fa2822bfbc32f35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93cfb5e6ae40d2595d55aafcd947f4ba"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga93cfb5e6ae40d2595d55aafcd947f4ba">ds18b20_scratchpad_set_resolution</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#ga6a1cab097fcad68347f07f97e1bb2af8">ds18b20_resolution_t</a> resolution)</td></tr>
<tr class="memdesc:ga93cfb5e6ae40d2595d55aafcd947f4ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the resolution in the scratchpad  <a href="group__ds18b20__base__driver.html#ga93cfb5e6ae40d2595d55aafcd947f4ba">More...</a><br /></td></tr>
<tr class="separator:ga93cfb5e6ae40d2595d55aafcd947f4ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e6aa803f8f341dbaeb010e5c4b3ecda"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga1e6aa803f8f341dbaeb010e5c4b3ecda">ds18b20_scratchpad_get_resolution</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#ga6a1cab097fcad68347f07f97e1bb2af8">ds18b20_resolution_t</a> *resolution)</td></tr>
<tr class="memdesc:ga1e6aa803f8f341dbaeb010e5c4b3ecda"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the resolution in the scratchpad  <a href="group__ds18b20__base__driver.html#ga1e6aa803f8f341dbaeb010e5c4b3ecda">More...</a><br /></td></tr>
<tr class="separator:ga1e6aa803f8f341dbaeb010e5c4b3ecda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdec4dca56e47a203832ffcd1d71b2f0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#gacdec4dca56e47a203832ffcd1d71b2f0">ds18b20_scratchpad_set_alarm_threshold</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int8_t threshold_high, int8_t threshold_low)</td></tr>
<tr class="memdesc:gacdec4dca56e47a203832ffcd1d71b2f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the alarm threshold in the scratchpad  <a href="group__ds18b20__advance__driver.html#gacdec4dca56e47a203832ffcd1d71b2f0">More...</a><br /></td></tr>
<tr class="separator:gacdec4dca56e47a203832ffcd1d71b2f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe12d7ad8c1a4812239d2d85e0536a0d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#gabe12d7ad8c1a4812239d2d85e0536a0d">ds18b20_scrachpad_get_alarm_threshold</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int8_t *threshold_high, int8_t *threshold_low)</td></tr>
<tr class="memdesc:gabe12d7ad8c1a4812239d2d85e0536a0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the alarm threshold in the scratchpad  <a href="group__ds18b20__advance__driver.html#gabe12d7ad8c1a4812239d2d85e0536a0d">More...</a><br /></td></tr>
<tr class="separator:gabe12d7ad8c1a4812239d2d85e0536a0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b16e3c5bee08168be48a615150fe171"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga5b16e3c5bee08168be48a615150fe171">ds18b20_copy_scratchpad_to_eeprom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:ga5b16e3c5bee08168be48a615150fe171"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy the scratchpad content to the eeprom  <a href="group__ds18b20__base__driver.html#ga5b16e3c5bee08168be48a615150fe171">More...</a><br /></td></tr>
<tr class="separator:ga5b16e3c5bee08168be48a615150fe171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga511d72a8988b7dc7dc09bd82ab3cfde3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga511d72a8988b7dc7dc09bd82ab3cfde3">ds18b20_copy_eeprom_to_scratchpad</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:ga511d72a8988b7dc7dc09bd82ab3cfde3"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy the eeprom content to the scratchpad  <a href="group__ds18b20__base__driver.html#ga511d72a8988b7dc7dc09bd82ab3cfde3">More...</a><br /></td></tr>
<tr class="separator:ga511d72a8988b7dc7dc09bd82ab3cfde3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad27eacce4379fb8aa528645be258b698"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#gad27eacce4379fb8aa528645be258b698">ds18b20_alarm_convert_to_register</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, float temp, int8_t *reg)</td></tr>
<tr class="memdesc:gad27eacce4379fb8aa528645be258b698"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert the alarm temperature to the register data  <a href="group__ds18b20__advance__driver.html#gad27eacce4379fb8aa528645be258b698">More...</a><br /></td></tr>
<tr class="separator:gad27eacce4379fb8aa528645be258b698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11bfd128f97051bc0e2775bf6dda64f5"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga11bfd128f97051bc0e2775bf6dda64f5">ds18b20_alarm_convert_to_data</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int8_t reg, float *temp)</td></tr>
<tr class="memdesc:ga11bfd128f97051bc0e2775bf6dda64f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert the register data to the alarm temperature  <a href="group__ds18b20__advance__driver.html#ga11bfd128f97051bc0e2775bf6dda64f5">More...</a><br /></td></tr>
<tr class="separator:ga11bfd128f97051bc0e2775bf6dda64f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42a0bced6314bc11b3c47f1d83bbff9a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga42a0bced6314bc11b3c47f1d83bbff9a">ds18b20_init</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:ga42a0bced6314bc11b3c47f1d83bbff9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize the chip  <a href="group__ds18b20__base__driver.html#ga42a0bced6314bc11b3c47f1d83bbff9a">More...</a><br /></td></tr>
<tr class="separator:ga42a0bced6314bc11b3c47f1d83bbff9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7b94675deaafbe00917e7e232278c77"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">ds18b20_deinit</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:gaa7b94675deaafbe00917e7e232278c77"><td class="mdescLeft">&#160;</td><td class="mdescRight">close the chip  <a href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">More...</a><br /></td></tr>
<tr class="separator:gaa7b94675deaafbe00917e7e232278c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga7b55e1d3f3ba9ca53c3a78c1d8d221b4">ds18b20_read</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int16_t *raw, float *temp)</td></tr>
<tr class="memdesc:ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">read data from the chip  <a href="group__ds18b20__base__driver.html#ga7b55e1d3f3ba9ca53c3a78c1d8d221b4">More...</a><br /></td></tr>
<tr class="separator:ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b1500ff71c4d2a2ba63825b639ae808"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga7b1500ff71c4d2a2ba63825b639ae808">ds18b20_search_rom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t(*rom)[8], uint8_t *num)</td></tr>
<tr class="memdesc:ga7b1500ff71c4d2a2ba63825b639ae808"><td class="mdescLeft">&#160;</td><td class="mdescRight">search the ds18b20 rom  <a href="group__ds18b20__advance__driver.html#ga7b1500ff71c4d2a2ba63825b639ae808">More...</a><br /></td></tr>
<tr class="separator:ga7b1500ff71c4d2a2ba63825b639ae808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga384c1500974d1390b4113f5b474774e5"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga384c1500974d1390b4113f5b474774e5">ds18b20_search_alarm</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t(*rom)[8], uint8_t *num)</td></tr>
<tr class="memdesc:ga384c1500974d1390b4113f5b474774e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">search the ds18b20 alarm rom  <a href="group__ds18b20__advance__driver.html#ga384c1500974d1390b4113f5b474774e5">More...</a><br /></td></tr>
<tr class="separator:ga384c1500974d1390b4113f5b474774e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga508a88dccd8b9b8ddbff04c7e867fd5f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga508a88dccd8b9b8ddbff04c7e867fd5f">ds18b20_get_power_mode</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#ga3804f6549e6eeb30fc781d36ebbf8fbd">ds18b20_power_mode_t</a> *power_mode)</td></tr>
<tr class="memdesc:ga508a88dccd8b9b8ddbff04c7e867fd5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the power mode  <a href="group__ds18b20__advance__driver.html#ga508a88dccd8b9b8ddbff04c7e867fd5f">More...</a><br /></td></tr>
<tr class="separator:ga508a88dccd8b9b8ddbff04c7e867fd5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73dc824fee896b24252b86e683618ee8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga73dc824fee896b24252b86e683618ee8">ds18b20_info</a> (<a class="el" href="group__ds18b20__base__driver.html#gaf0d8f59ec1b4c532700951b5039bc839">ds18b20_info_t</a> *info)</td></tr>
<tr class="memdesc:ga73dc824fee896b24252b86e683618ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">get chip's information  <a href="group__ds18b20__base__driver.html#ga73dc824fee896b24252b86e683618ee8">More...</a><br /></td></tr>
<tr class="separator:ga73dc824fee896b24252b86e683618ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a32219b19129afbf46d1a7025492ed4e4"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="driver__ds18b20_8c.html#a32219b19129afbf46d1a7025492ed4e4">gc_ds18b20_crc_table</a> [256]</td></tr>
<tr class="memdesc:a32219b19129afbf46d1a7025492ed4e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">crc table  <a href="driver__ds18b20_8c.html#a32219b19129afbf46d1a7025492ed4e4">More...</a><br /></td></tr>
<tr class="separator:a32219b19129afbf46d1a7025492ed4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>driver ds18b20 source file </p>
<p>Copyright (c) 2015 - present LibDriver All rights reserved</p>
<p>The MIT License (MIT)</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<dl class="section version"><dt>Version</dt><dd>2.0.0 </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Shifeng Li </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2021-04-06</dd></dl>
<h3>history</h3>
<table class="doxtable">
<tr>
<th>Date </th><th>Version </th><th>Author </th><th>Description </th></tr>
<tr>
<td>2021/04/06 </td><td>2.0 </td><td>Shifeng Li </td><td>format the code </td></tr>
<tr>
<td>2020/12/20 </td><td>1.0 </td><td>Shifeng Li </td><td>first upload </td></tr>
</table>

<p class="definition">Definition in file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="adc9da0a24824ca1239b593f6459b3954"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc9da0a24824ca1239b593f6459b3954">&#9670;&nbsp;</a></span>CHIP_NAME</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHIP_NAME&#160;&#160;&#160;&quot;Maxim Integrated DS18B20&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>chip information definition </p>
<p>chip name </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00043">43</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="ae578001fe043b4cca7a0edd801cfe9c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae578001fe043b4cca7a0edd801cfe9c4">&#9670;&nbsp;</a></span>DRIVER_VERSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_VERSION&#160;&#160;&#160;2000</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>driver version </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00050">50</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="afae59ed6acc15562eda1a04e26b10b99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afae59ed6acc15562eda1a04e26b10b99">&#9670;&nbsp;</a></span>DS18B20_CMD_ALARM_SEARCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_ALARM_SEARCH&#160;&#160;&#160;0xEC</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>alarm search command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00059">59</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="ac2a9d81efb3ef7b921377c116e41a3f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2a9d81efb3ef7b921377c116e41a3f8">&#9670;&nbsp;</a></span>DS18B20_CMD_CONVERT_T</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_CONVERT_T&#160;&#160;&#160;0x44</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>convert command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00060">60</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="ae93330bdd8be8a8321fab8fd377f032d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae93330bdd8be8a8321fab8fd377f032d">&#9670;&nbsp;</a></span>DS18B20_CMD_COPY_SCRATCHPAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_COPY_SCRATCHPAD&#160;&#160;&#160;0x48</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>copy scratchpad command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00063">63</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a6cdf02a12f71612a40dde0a265ebd75b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cdf02a12f71612a40dde0a265ebd75b">&#9670;&nbsp;</a></span>DS18B20_CMD_MATCH_ROM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_MATCH_ROM&#160;&#160;&#160;0x55</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>match rom command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00057">57</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="afacf9219cf1ebe44185d974711492cdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afacf9219cf1ebe44185d974711492cdc">&#9670;&nbsp;</a></span>DS18B20_CMD_READ_POWER_SUPPLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_READ_POWER_SUPPLY&#160;&#160;&#160;0xB4</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>read power supply command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00065">65</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a72f0f569eb68858f479bcc730c3e295c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72f0f569eb68858f479bcc730c3e295c">&#9670;&nbsp;</a></span>DS18B20_CMD_READ_ROM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_READ_ROM&#160;&#160;&#160;0x33</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>read rom command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00056">56</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a3734ec2848db33401ad3246798e474a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3734ec2848db33401ad3246798e474a7">&#9670;&nbsp;</a></span>DS18B20_CMD_READ_SCRATCHPAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_READ_SCRATCHPAD&#160;&#160;&#160;0xBE</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>read scratchpad command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00062">62</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="ab8ff7b9c7b59106d5c9bda3c03d56c6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8ff7b9c7b59106d5c9bda3c03d56c6d">&#9670;&nbsp;</a></span>DS18B20_CMD_RECALL_EE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_RECALL_EE&#160;&#160;&#160;0xB8</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>recall ee command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00064">64</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="ae6f3a99c114a9bc39c195871ad337653"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6f3a99c114a9bc39c195871ad337653">&#9670;&nbsp;</a></span>DS18B20_CMD_SEARCH_ROM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_SEARCH_ROM&#160;&#160;&#160;0xF0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>chip command definition </p>
<p>search rom command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00055">55</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a608ba051f40d5b9e54f8ebc016dc1514"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a608ba051f40d5b9e54f8ebc016dc1514">&#9670;&nbsp;</a></span>DS18B20_CMD_SKIP_ROM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_SKIP_ROM&#160;&#160;&#160;0xCC</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>skip rom command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00058">58</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a57959c93d714e1c177afc244b2c57d5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57959c93d714e1c177afc244b2c57d5e">&#9670;&nbsp;</a></span>DS18B20_CMD_WRITE_SCRATCHPAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DS18B20_CMD_WRITE_SCRATCHPAD&#160;&#160;&#160;0x4E</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>write scratchpad command </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00061">61</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="aaa2b8f5b105c3019df0cb346f472e803"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa2b8f5b105c3019df0cb346f472e803">&#9670;&nbsp;</a></span>MANUFACTURER_NAME</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MANUFACTURER_NAME&#160;&#160;&#160;&quot;Maxim Integrated&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>manufacturer name </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00044">44</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a2989837a37d6d63b59c6dd541b785435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2989837a37d6d63b59c6dd541b785435">&#9670;&nbsp;</a></span>MAX_CURRENT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_CURRENT&#160;&#160;&#160;4.0f</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>chip max current </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00047">47</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a68eba8b601afe11f1b871d944976c035"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68eba8b601afe11f1b871d944976c035">&#9670;&nbsp;</a></span>SUPPLY_VOLTAGE_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SUPPLY_VOLTAGE_MAX&#160;&#160;&#160;5.5f</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>chip max supply voltage </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00046">46</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="aac8d8cbd899667d609787ef4cf37054d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac8d8cbd899667d609787ef4cf37054d">&#9670;&nbsp;</a></span>SUPPLY_VOLTAGE_MIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SUPPLY_VOLTAGE_MIN&#160;&#160;&#160;3.0f</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>chip min supply voltage </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00045">45</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="a90c0b20d54005712fcc8cb01281360e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90c0b20d54005712fcc8cb01281360e9">&#9670;&nbsp;</a></span>TEMPERATURE_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_MAX&#160;&#160;&#160;125.0f</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>chip max operating temperature </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00049">49</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<a id="aab353db5bf4eb787f86a2080f609a551"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab353db5bf4eb787f86a2080f609a551">&#9670;&nbsp;</a></span>TEMPERATURE_MIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_MIN&#160;&#160;&#160;-55.0f</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>chip min operating temperature </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00048">48</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a32219b19129afbf46d1a7025492ed4e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32219b19129afbf46d1a7025492ed4e4">&#9670;&nbsp;</a></span>gc_ds18b20_crc_table</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint8_t gc_ds18b20_crc_table[256]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    0X00, 0X5E, 0XBC, 0XE2, 0X61, 0X3F, 0XDD, 0X83, 0XC2, 0X9C, 0X7E, 0X20, 0XA3,</div>
<div class="line">    0XFD, 0X1F, 0X41, 0X9D, 0XC3, 0X21, 0X7F, 0XFC, 0XA2, 0X40, 0X1E, 0X5F, 0X01,</div>
<div class="line">    0XE3, 0XBD, 0X3E, 0X60, 0X82, 0XDC, 0X23, 0X7D, 0X9F, 0XC1, 0X42, 0X1C, 0XFE,</div>
<div class="line">    0XA0, 0XE1, 0XBF, 0X5D, 0X03, 0X80, 0XDE, 0X3C, 0X62, 0XBE, 0XE0, 0X02, 0X5C,</div>
<div class="line">    0XDF, 0X81, 0X63, 0X3D, 0X7C, 0X22, 0XC0, 0X9E, 0X1D, 0X43, 0XA1, 0XFF, 0X46,</div>
<div class="line">    0X18, 0XFA, 0XA4, 0X27, 0X79, 0X9B, 0XC5, 0X84, 0XDA, 0X38, 0X66, 0XE5, 0XBB,</div>
<div class="line">    0X59, 0X07, 0XDB, 0X85, 0X67, 0X39, 0XBA, 0XE4, 0X06, 0X58, 0X19, 0X47, 0XA5,</div>
<div class="line">    0XFB, 0X78, 0X26, 0XC4, 0X9A, 0X65, 0X3B, 0XD9, 0X87, 0X04, 0X5A, 0XB8, 0XE6,</div>
<div class="line">    0XA7, 0XF9, 0X1B, 0X45, 0XC6, 0X98, 0X7A, 0X24, 0XF8, 0XA6, 0X44, 0X1A, 0X99,</div>
<div class="line">    0XC7, 0X25, 0X7B, 0X3A, 0X64, 0X86, 0XD8, 0X5B, 0X05, 0XE7, 0XB9, 0X8C, 0XD2,</div>
<div class="line">    0X30, 0X6E, 0XED, 0XB3, 0X51, 0X0F, 0X4E, 0X10, 0XF2, 0XAC, 0X2F, 0X71, 0X93,</div>
<div class="line">    0XCD, 0X11, 0X4F, 0XAD, 0XF3, 0X70, 0X2E, 0XCC, 0X92, 0XD3, 0X8D, 0X6F, 0X31,</div>
<div class="line">    0XB2, 0XEC, 0X0E, 0X50, 0XAF, 0XF1, 0X13, 0X4D, 0XCE, 0X90, 0X72, 0X2C, 0X6D,</div>
<div class="line">    0X33, 0XD1, 0X8F, 0X0C, 0X52, 0XB0, 0XEE, 0X32, 0X6C, 0X8E, 0XD0, 0X53, 0X0D,</div>
<div class="line">    0XEF, 0XB1, 0XF0, 0XAE, 0X4C, 0X12, 0X91, 0XCF, 0X2D, 0X73, 0XCA, 0X94, 0X76,</div>
<div class="line">    0X28, 0XAB, 0XF5, 0X17, 0X49, 0X08, 0X56, 0XB4, 0XEA, 0X69, 0X37, 0XD5, 0X8B,</div>
<div class="line">    0X57, 0X09, 0XEB, 0XB5, 0X36, 0X68, 0X8A, 0XD4, 0X95, 0XCB, 0X29, 0X77, 0XF4,</div>
<div class="line">    0XAA, 0X48, 0X16, 0XE9, 0XB7, 0X55, 0X0B, 0X88, 0XD6, 0X34, 0X6A, 0X2B, 0X75,</div>
<div class="line">    0X97, 0XC9, 0X4A, 0X14, 0XF6, 0XA8, 0X74, 0X2A, 0XC8, 0X96, 0X15, 0X4B, 0XA9,</div>
<div class="line">    0XF7, 0XB6, 0XE8, 0X0A, 0X54, 0XD7, 0X89, 0X6B, 0X35,</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>crc table </p>

<p class="definition">Definition at line <a class="el" href="driver__ds18b20_8c_source.html#l00070">70</a> of file <a class="el" href="driver__ds18b20_8c_source.html">driver_ds18b20.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="driver__ds18b20_8c.html">driver_ds18b20.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
